home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttCCCChhhhaaaannnnnnnneeeellllIIIInnnnppppuuuuttttRRRReeeeccccttttaaaannnngggglllleeee((((3333))))XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttCCCChhhhaaaannnnnnnneeeellllIIIInnnnppppuuuuttttRRRReeeeccccttttaaaannnngggglllleeee((((3333)))) NNNNAAAAMMMMEEEE XSGIvcSetChannelInputRectangle, XSGIvcQueryBestChannelRectangle - Video Pan and Zoom SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS ####iiiinnnncccclllluuuuddddeeee <<<<XXXX11111111////eeeexxxxtttteeeennnnssssiiiioooonnnnssss////XXXXSSSSGGGGIIIIvvvvcccc....hhhh>>>> vvvvooooiiiidddd XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttCCCChhhhaaaannnnnnnneeeellllIIIInnnnppppuuuuttttRRRReeeeccccttttaaaannnngggglllleeee((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,, iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,, iiiinnnntttt cccchhhhaaaannnnnnnneeeellll,,,, XXXXSSSSGGGGIIIIvvvvccccRRRReeeeccccttttaaaannnngggglllleeee rrrrcccctttt)))) SSSSttttaaaattttuuuussss XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyBBBBeeeessssttttCCCChhhhaaaannnnnnnneeeellllRRRReeeeccccttttaaaannnngggglllleeee((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,, iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,, iiiinnnntttt cccchhhhaaaannnnnnnneeeellll,,,, XXXXSSSSGGGGIIIIvvvvccccRRRReeeeccccttttaaaannnngggglllleeee rrrrcccctttt,,,, XXXXSSSSGGGGIIIIvvvvccccRRRReeeeccccttttaaaannnngggglllleeee ****rrrrrrrrcccctttt)))) PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS _d_i_s_p_l_a_y Specifies the connection to the X server. _s_c_r_e_e_n Specifies the screen of the X server. _c_h_a_n_n_e_l Specifies the channel number. _r_c_t Specifies the origin or/and the size to which the rectangle should be set (specified in pixels). _r_r_c_t Return the origin and the size of the rectangle (specified in pixels). DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN Each channel of an X server displays a rectangular region of pixels of the root window. In operation, the channel fetches the specified input rectangle from the frame buffer. On configurations with one channel, the input rectangle is usually the size of the root window; however, some X server video hardware permits the input rectangle to change origin and size. To change the size or origin of the rectangle, use XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttIIIInnnnppppuuuuttttRRRReeeeccccttttaaaannnngggglllleeee. Both size and origin are required, even if only one is changed. To determine the current size and origin, use the XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyCCCChhhhaaaannnnnnnneeeellllIIIInnnnffffoooo function. If an X server does permit changes to the input rectangle, the server may impose restrictions on the values of both size and origin. The XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyBBBBeeeessssttttCCCChhhhaaaannnnnnnneeeellllRRRReeeeccccttttaaaannnngggglllleeee function provides a means to determine the rectangle nearest to the size and origin you specify. Determination of the Page 1 (printed 10/3/02) XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttCCCChhhhaaaannnnnnnneeeellllIIIInnnnppppuuuuttttRRRReeeeccccttttaaaannnngggglllleeee((((3333))))XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttCCCChhhhaaaannnnnnnneeeellllIIIInnnnppppuuuuttttRRRReeeeccccttttaaaannnngggglllleeee((((3333)))) best rectangle is server-dependent, and different situations may yield different results. EEEEVVVVEEEENNNNTTTTSSSS When this control is altered, the server generates a ChannelInputRectangle event. RRRREEEETTTTUUUURRRRNNNNEEEEDDDD VVVVAAAALLLLUUUUEEEE XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyBBBBeeeessssttttCCCChhhhaaaannnnnnnneeeellllRRRReeeeccccttttaaaannnngggglllleeee returns TRUE if a rectangle is found of a valid supported size and origin (the valid size of which is found in the returned variables); this function returns FALSE when no valid rectangle was found (among which is the case when the server does not support change of size or origin). Parameter errors are reported via BadValue or BadMatch. SSSSEEEEEEEE AAAALLLLSSSSOOOO XSGIvc, XSGIvcQueryChannelInfo Page 2 (printed 10/3/02)